throw "string" -> throw new Error("string"
This commit is contained in:
@@ -799,7 +799,7 @@ export default {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
throw editType + " NOT IMPLEMENTED";
|
||||
throw new Error(`wiki-control: ${editType} NOT IMPLEMENTED`);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user