Skip to content

Commit

Permalink
Fix non-extant log logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimenpsyonal authored Jan 4, 2025
1 parent 5f18af7 commit 463e105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MainModule/Server/Plugins/Server-SoftShutdown.luau
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ return function(Vargs, GetEnv)
TeleportService:Teleport(game.PlaceId, player, {[PARAMETER_2_NAME] = true})
else
Logs:AddLog("Script", `Failed to teleport {player.Name} {isReservedServer and "back to the main game" or "to a temporary softshutdown server"} due to {result.Name}. Details: {message}`)
Logs:AddLog("Error", `Failed to teleport {player.Name} {isReservedServer and "back to the main game" or "to a temporary softshutdown server"} to {result.Name}. Details: {message}`)
Logs:AddLog("Errors", `Failed to teleport {player.Name} {isReservedServer and "back to the main game" or "to a temporary softshutdown server"} to {result.Name}. Details: {message}`)
Functions.Notification("Teleport failed", `SoftShutdown failed to teleport {isReservedServer and "back to the main game" or "to a temporary softshutdown server"}. Details {message}`, {player}, 35, "MatIcon://Error")
end
end
Expand Down

0 comments on commit 463e105

Please # to comment.