diff --git a/lib/testrail.js b/lib/testrail.js index 7b6ad58..f7a778e 100644 --- a/lib/testrail.js +++ b/lib/testrail.js @@ -194,7 +194,7 @@ class TestRail { throw Error(parsedError); }); } else { - throw Error(`File at ${imageFile} doesn't exist!`); + throw Error(`File at ${screenshotPath} doesn't exist!`); } }