Change behaviour after an unrecoverable error -- if not handled, exit Shairport Sync.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user