diff --git a/lib/actions/app.coffee b/lib/actions/app.coffee index 3d6fb5e5..e2fffd08 100644 --- a/lib/actions/app.coffee +++ b/lib/actions/app.coffee @@ -16,6 +16,9 @@ exports.list = authHooks.failIfNotLoggedIn -> return application , [ 'ID', 'Name', 'Device Type', 'Online Devices', 'All Devices' ] + .catch (error) -> + throw error + exports.info = authHooks.failIfNotLoggedIn (id) -> applicationModel.get(id).then (application) ->