Skip to content

Commit a8a1f61

Browse files
committed
Don't send error reports on 3-in-the-row auto-host failures.
1 parent e500f8f commit a8a1f61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SerialPrograms/Source/PokemonSV/Programs/TeraRaids/PokemonSV_AutoHostTools.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void TeraFailTracker::on_raid_start(){
7373
if (m_consecutive_failures > 0 && !m_completed_one){
7474
throw_and_log<FatalProgramException>(
7575
m_env.logger(),
76-
ErrorReport::SEND_ERROR_REPORT,
76+
ErrorReport::NO_ERROR_REPORT,
7777
"Failed 1st raid attempt. Will not retry due to risk of ban."
7878
);
7979
}
@@ -83,7 +83,7 @@ void TeraFailTracker::on_raid_start(){
8383
if (minutes == 0){
8484
throw_and_log<FatalProgramException>(
8585
m_env.logger(),
86-
ErrorReport::SEND_ERROR_REPORT,
86+
ErrorReport::NO_ERROR_REPORT,
8787
"Failed " + std::to_string(fail_threshold) + " raid(s) in the row. "
8888
"Stopping to prevent possible ban."
8989
);

0 commit comments

Comments
 (0)