API response when size limit is reached
Closed this issue · 2 comments
ShalokShalom commented
The API gives currently this error, when the size limit is reached:
<!doctype html>
<html lang="en">
<head>
<title>Bad Request (400)</title>
</head>
<body>
<h1>Bad Request (400)</h1><p></p>
</body>
</html>
I suggest a precise error message like the one in the web UI.
DarrenOfficial commented
This error is not thrown out by dpaste itself, rather OpenResty; I'll re-configure it with (#256) so it shows the real error message
DarrenOfficial commented
API should return a precise error message now.