Merge branch 'HOR-678', remote branch 'upstream/3.0.1.8' into 3.0.1.8

This commit is contained in:
Julio Cesar Laura Avendaño
2016-04-04 10:26:03 -04:00

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;
}