about summary refs log tree commit diff stats
path: root/src/html/dom.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/dom.nim')
-rw-r--r--src/html/dom.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index 265810ce..be297d70 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -2936,7 +2936,7 @@ proc loadResource(window: Window; image: HTMLImageElement) =
         response.unregisterFun()
         response.body.sclose()
         if "X-Image-Dimensions" notin response.headers.table:
-          window.console.error("X-Image-Dimensions missing")
+          window.console.error("X-Image-Dimensions missing in", $response.url)
           return
         let dims = response.headers.table["X-Image-Dimensions"][0]
         let width = parseUInt64(dims.until('x'), allowSign = false)