added error handling when requesting to join non existing room
default-pipeline default-pipeline #181
default-pipeline default-pipeline #181
This commit is contained in:
1 parent
430b32d0c6
commit
01a4fdf5e5
2 files changed
+9
No files matched your search
@@ -410,6 +410,10 @@
|
||||
MapGuesser.showModalWithContent('Error', 'This game is already started, you cannot join.');
|
||||
break;
|
||||
|
||||
case 'game_not_found':
|
||||
MapGuesser.showModalWithContent('Error', 'The game room was not found by this ID. Please check the link.');
|
||||
break;
|
||||
|
||||
default:
|
||||
MapGuesser.showModalWithContent('Error', 'Error code: \'' + error + '\'');
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user