some more little fixes

This commit is contained in:
Adina Parpalita
2019-10-22 19:39:32 +03:00
parent e8e353fd48
commit 7adba9e619
3 changed files with 7 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ export abstract class RepoApi {
protected handleError(message: string, response: any) {
console.log(`\n--- ${message} error :`);
if ( response.status ) {
if ( response.status && response.response ) {
try {
console.log('\t>>> Status: ', response.status);
console.log('\t>>> Text: ', response.response.text);