Skip to content

Commit ab84180

Browse files
committed
SV Egg autonomous: update error messages
1 parent 4101a0f commit ab84180

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

SerialPrograms/Source/PokemonSV/Programs/Eggs/PokemonSV_EggAutonomous.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,12 +767,12 @@ bool EggAutonomous::handle_recoverable_error(
767767
env.log("Don't reset game to protect it.", COLOR_RED);
768768
return true;
769769
}
770-
770+
std::string fail_message = e.message();
771771
consecutive_failures++;
772772
if (consecutive_failures >= 3){
773773
OperationFailedException::fire(
774774
ErrorReport::SEND_ERROR_REPORT,
775-
"Failed 3 times in the row.",
775+
"Failed 3 times in the row.\n" + fail_message,
776776
env.console
777777
);
778778
}

SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichRoutines.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,8 @@ void run_sandwich_maker(
11051105
stream.log("Read nothing on center plate label.");
11061106
OperationFailedException::fire(
11071107
ErrorReport::SEND_ERROR_REPORT,
1108-
"No ingredient found on center plate label.",
1108+
"run_sandwich_maker: No ingredient found on center plate label.\n"
1109+
"Please make sure that you have set the correct Game Language in the program settings.",
11091110
stream,
11101111
std::move(screen)
11111112
);

0 commit comments

Comments
 (0)