Skip to content

Commit

Permalink
more information in upload error message
Browse files Browse the repository at this point in the history
  • Loading branch information
socraticDevBlog committed Apr 25, 2024
1 parent 46035f8 commit 708e532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastebin.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h3 class="subtitle">your most recent pastes:</h3>
textInput.value = ""; //clearing textbox from its value
} catch (error) {
console.error("Error sending data to API:", error);
alert("Error sending data to API.");
alert("Error sending data to API. Check payload size: payload must be smaller than 5MB");
}
}

Expand Down

0 comments on commit 708e532

Please sign in to comment.