Change behaviour after an unrecoverable error -- if not handled, exit Shairport Sync.

This commit is contained in:
Mike Brady
2021-12-01 09:01:31 +00:00
parent e3faba141c
commit 7b8e293f8b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -611,7 +611,7 @@ void *player_watchdog_thread_code(void *arg) {
conn->unfixable_error_reported = 1;
command_execute(config.cmd_unfixable, "unable_to_cancel_play_session", 1);
} else {
warn("an unrecoverable error, \"unable_to_cancel_play_session\", has been detected.",
die("an unrecoverable error, \"unable_to_cancel_play_session\", has been detected.",
conn->connection_number);
}
}