This commit is contained in:
Julio Cesar Laura Avendaño
2016-04-01 19:23:28 -04:00
parent c786f1ece1
commit 2fcc9146f5

View File

@@ -2,6 +2,7 @@
namespace ProcessMaker\BusinessModel\Light;
use \ProcessMaker\Services\Api;
use G;
class NotificationDevice
@@ -135,7 +136,7 @@ class NotificationDevice
}
} catch (\Exception $e) {
throw new \Exception(\Api::STAT_APP_EXCEPTION, $e->getMessage());
throw new \Exception(Api::STAT_APP_EXCEPTION, $e->getMessage());
}
return $response;
}
@@ -229,7 +230,7 @@ class NotificationDevice
}
}
} catch (\Exception $e) {
throw new \Exception(\Api::STAT_APP_EXCEPTION, $e->getMessage());
throw new \Exception(Api::STAT_APP_EXCEPTION, $e->getMessage());
}
return $response;
}