Merge pull request #632 from openclassify/vedatakdogan

fixed null error for currency converter
This commit is contained in:
Ozcan Durak 2020-08-12 18:10:52 +03:00 committed by GitHub
commit b2d4f08f0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
} }
} }
} catch (RequestException $e) { } catch (RequestException $e) {
$this->messages->error($e->getMessage()); $this->messages->error((!is_null($e->getMessage())) ? $e->getMessage() : trans('streams::error.500.message'));
} }
} }
} }