Skip to content

Commit

Permalink
Update RequestHandler.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Nov 22, 2023
1 parent 9b183eb commit 2425c6b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ public static void onSettingsImportRequest(Context ctx) {

if (ConfigManager.saveUploadedSettingsZip(tempFilePath.get())) {
ctx.status(200);
ctx.result("Successfully saved the uploaded settings zip");
logger.info("Successfully saved the uploaded settings zip");
ctx.result("Successfully saved the uploaded settings zip, rebooting");
logger.info("Successfully saved the uploaded settings zip, rebooting");
restartProgram();
} else {
ctx.status(500);
ctx.result("There was an error while saving the uploaded zip file");
Expand Down

0 comments on commit 2425c6b

Please sign in to comment.