diff --git a/modules/relay/src/main/RelayFetch.scala b/modules/relay/src/main/RelayFetch.scala index a0aedc0a6e..1aa44978ce 100644 --- a/modules/relay/src/main/RelayFetch.scala +++ b/modules/relay/src/main/RelayFetch.scala @@ -137,7 +137,7 @@ private object RelayFetch { private def dgtOneFile(file: String, max: Int): Fu[MultiPgn] = httpGet(file).flatMap { case res if res.status == 200 => fuccess(splitPgn(res.body, max)) - case res => fufail(s"Cannot fetch $file (error ${res.status})") + case res => fufail(s"[${res.status}] $file") } import play.api.libs.json._ diff --git a/ui/analyse/src/ctrl.ts b/ui/analyse/src/ctrl.ts index 6280bbee9e..7c5e60f1b5 100644 --- a/ui/analyse/src/ctrl.ts +++ b/ui/analyse/src/ctrl.ts @@ -477,7 +477,7 @@ export default class AnalyseCtrl { addNode(node: Tree.Node, path: Tree.Path) { const newPath = this.tree.addNode(node, path); if (!newPath) { - console.log('Cannot addNode', node, path); + console.log("Can't addNode", node, path); return this.redraw(); } this.jump(newPath);