mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 01:49:49 -05:00
Fix paste
Former-commit-id: d64190d75c522f0fcca9e0c9daf7400e9cd6bce8
This commit is contained in:
1 parent
cb441ac8b3
commit
c8196a104f
2 files changed
+2
-2
No files matched your search
@@ -48,7 +48,7 @@ public class Paste {
|
||||
*
|
||||
* @return The paste result content.
|
||||
*/
|
||||
public String genNewPaste() {
|
||||
public @NotNull String genNewPaste() {
|
||||
StringBuilder finalReport = new StringBuilder();
|
||||
finalReport.append("###############################\n");
|
||||
finalReport.append("QuickShop-Reremake Paste Result\n");
|
||||
|
||||
@@ -215,9 +215,9 @@ public class SentryErrorReporter {
|
||||
for (String record : context) {
|
||||
this.context.recordBreadcrumb(new BreadcrumbBuilder().setMessage(record).build());
|
||||
}
|
||||
Paste paste = new Paste(plugin);
|
||||
String pasteURL = "Failed to paste.";
|
||||
try {
|
||||
Paste paste = new Paste(plugin);
|
||||
pasteURL = paste.paste(paste.genNewPaste());
|
||||
} catch (Throwable ex) {
|
||||
//Ignore
|
||||
|
||||
Reference in new issue
Block a user