implemented task/:id/view
This commit is contained in:
@@ -155,7 +155,7 @@ CREATE TABLE IF NOT EXISTS {0} ( {1} VARCHAR(255) PRIMARY KEY, {2} VARCHAR(255)
|
||||
if (result == null) throw UmbrellaException.notFound("No project found for id {0}",projectId);
|
||||
return result;
|
||||
} catch (SQLException e) {
|
||||
throw new UmbrellaException(HTTP_SERVER_ERROR,"Failed to load items from database");
|
||||
throw new UmbrellaException(HTTP_SERVER_ERROR,"Failed to load project from database");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user