Update RequestHandler.java (#1020)

Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com>
This commit is contained in:
Matt
2023-11-21 23:01:59 -05:00
committed by GitHub
parent 5a9cf418d4
commit 5d93515429

View File

@@ -89,8 +89,9 @@ public class RequestHandler {
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");