Commit d57105ee authored by Karamel's avatar Karamel
Browse files

More log on API call error.

parent bdf4651d
......@@ -64,6 +64,10 @@ class APICaller {
$app->getLogger()->error('Internal error while calling API',
array('exception' => $e));
return APIResult::error($e->__toString());
} catch (\Exception $e) {
$app->getLogger()->error('Internal error',
array('exception' => $e));
return APIResult::error($e->__toString());
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment