Sendcloud error handling

This commit is contained in:
Andreas Palm
2023-01-29 23:38:27 +01:00
parent 3fe2c7a5d9
commit 575ab86157
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ class Versandart_sendcloud extends Versanddienstleister
$ret->Errors[] = $result;
}
} catch (SendcloudApiException $e) {
$ret->Errors[] = $e->getMessage();
$ret->Errors[] = strval($e);
}
return $ret;
}