diff --git a/autopush/router/fcmv1client.py b/autopush/router/fcmv1client.py index e5b16ea0..57992303 100644 --- a/autopush/router/fcmv1client.py +++ b/autopush/router/fcmv1client.py @@ -63,8 +63,11 @@ def parse_response(self, content): err = data.get("error") if err.get("status") == "NOT_FOUND": raise FCMNotFoundError("FCM recipient no longer available") - raise RouterException("{}: {}".format(err.get("status"), - err.get("message"))) + raise RouterException( + "{}: {} {}".format( + err.get("status"), + err.get("message"), + err.get("details", "No Details"))) if "name" in data: self.success = 1 except (TypeError, ValueError, KeyError, AttributeError):