mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-28 23:55:04 +08:00
print debug trace
This commit is contained in:
@@ -74,9 +74,11 @@ public class TicketSubmit extends HttpServlet {
|
|||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
return new Response(Response.ResponseCode.ILLEGAL_PARAMETER);
|
return new Response(Response.ResponseCode.ILLEGAL_PARAMETER);
|
||||||
} catch (HibernateException e) {
|
} catch (HibernateException e) {
|
||||||
|
e.printStackTrace();
|
||||||
return new Response(Response.ResponseCode.DATABASE_ERROR);
|
return new Response(Response.ResponseCode.DATABASE_ERROR);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return new Response(Response.ResponseCode.INTERNAL_ERROR);
|
e.printStackTrace();
|
||||||
|
return new Response(Response.ResponseCode.INTERNAL_ERROR, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user