This commit is contained in:
Julio Cesar Laura Avendaño
2016-04-04 10:33:51 -04:00
parent b9961999d6
commit 67c72aea63

View File

@@ -136,7 +136,7 @@ class NotificationDevice
}
} catch (\Exception $e) {
throw new \Exception(Api::STAT_APP_EXCEPTION, $e->getMessage());
throw new \Exception($e->getMessage(), Api::STAT_APP_EXCEPTION);
}
return $response;
}
@@ -230,7 +230,7 @@ class NotificationDevice
}
}
} catch (\Exception $e) {
throw new \Exception(Api::STAT_APP_EXCEPTION, $e->getMessage());
throw new \Exception($e->getMessage(), Api::STAT_APP_EXCEPTION);
}
return $response;
}