Skip to content
Snippets Groups Projects
Commit dce96766 authored by Aaron Bauman's avatar Aaron Bauman
Browse files

Translations for exceptions. Additional info for 'unkonwn error'

parent 78966c2f
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@ class RestClient implements RestClientInterface {
if (empty($this->response)
|| ((int) floor($this->response->getStatusCode() / 100)) != 2) {
throw new RestException($this->response, $this->t('Unknown error occurred during API call "@call": status code @status : @reason', [
throw new RestException($this->response, $this->t('Unknown error occurred during API call "@call": status code @code : @reason', [
'@call' => $path,
'@code' => $this->response->getStatusCode(),
'@reason' => $this->response->getReasonPhrase(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment