use relative imports, console.error -> console.log
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { ErrorMapper } from "./utils/ErrorMapper";
|
import { ErrorMapper } from "utils/ErrorMapper";
|
||||||
|
|
||||||
export function loop() {
|
export function loop() {
|
||||||
try {
|
try {
|
||||||
@@ -11,6 +11,6 @@ export function loop() {
|
|||||||
|
|
||||||
console.log(`Current tick is ${Game.time}`);
|
console.log(`Current tick is ${Game.time}`);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(ErrorMapper.sourceMappedStackTrace(e));
|
console.log(ErrorMapper.sourceMappedStackTrace(e));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user