|
@@ -534,7 +534,7 @@ public class PaperController extends ControllerSupport{
|
|
|
paperService.useBasePaper(paperIds, user.getDisplayName());
|
|
|
return new ResponseEntity<Object>(HttpStatus.OK);
|
|
|
}catch(Exception e){
|
|
|
- return new ResponseEntity<Object>(e.getMessage(),HttpStatus.INTERNAL_SERVER_ERROR);
|
|
|
+ throw new StatusException("Q-160537",e.getMessage());
|
|
|
}
|
|
|
}
|
|
|
|