{master} tweak error messages

round-proxy-get
Thibault Duplessis 2018-03-16 14:12:21 -05:00
parent a6161ea8cc
commit 129b10bc5b
2 changed files with 2 additions and 2 deletions

View File

@ -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._

View File

@ -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);