File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/io/github/moulberry/notenoughupdates/profileviewer Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 20
20
package io .github .moulberry .notenoughupdates .profileviewer ;
21
21
22
22
import io .github .moulberry .moulconfig .internal .ClipboardUtils ;
23
+ import io .github .moulberry .notenoughupdates .NotEnoughUpdates ;
23
24
import io .github .moulberry .notenoughupdates .core .util .render .RenderUtils ;
24
25
import io .github .moulberry .notenoughupdates .util .Rectangle ;
25
26
import io .github .moulberry .notenoughupdates .util .Utils ;
@@ -62,6 +63,11 @@ public CrashRecoveryPage(
62
63
parameters .addCrashSection ("Viewed Profile" , GuiProfileViewer .getProfileName ());
63
64
parameters .addCrashSection ("Timestamp" , timestamp );
64
65
parameters .addCrashSection ("Last Viewed Page" , lastViewedPage );
66
+ if (NotEnoughUpdates .INSTANCE .manager .onBackupRepo ) {
67
+ parameters .addCrashSection ("Repo Commit" , "Using Backup" );
68
+ } else {
69
+ parameters .addCrashSection ("Repo Commit" , NotEnoughUpdates .INSTANCE .manager .latestRepoCommit );
70
+ }
65
71
Bootstrap .printToSYSOUT (crashReport .getCompleteReport ());
66
72
}
67
73
You can’t perform that action at this time.
0 commit comments