mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Update RequestHandler.java (#1020)
Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com>
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user