Merge branch 'develop' of github.com:thecodingmachine/workadventure

This commit is contained in:
_Bastler
2022-01-12 10:56:50 +01:00
21 changed files with 41 additions and 39 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export interface ChatMessage {
function getAuthor(authorId: number): PlayerInterface {
const author = playersStore.getPlayerById(authorId);
if (!author) {
throw "Could not find data for author " + authorId;
throw new Error("Could not find data for author " + authorId);
}
return author;
}