diff --git a/src/redux/actionCreators.js b/src/redux/actionCreators.js index 0392b77f..8204fdd9 100644 --- a/src/redux/actionCreators.js +++ b/src/redux/actionCreators.js @@ -12,6 +12,10 @@ export function requestUnloadedSkin(index) { } export function selectedSkin(hash, position) { + if (hash == null) { + // trying to narrow down: https://sentry.io/share/issue/04b1bc5c2a764addac4e62dea201096a/ + throw new Error("Tried to select a null skin"); + } return { type: "SELECTED_SKIN", hash, position }; }