tag:help.appveyor.com,2012-11-13:/discussions/suggestions/1088-improve-error-messageAppVeyor: Discussion 2018-08-25T02:08:17Ztag:help.appveyor.com,2012-11-13:Comment/406791202016-09-05T00:24:25Z2016-09-05T00:24:26Zimprove error message<div><p>The following error message isn't very helpful and now i'm
simply guessing around what Appveyor expects or accepts:</p>
<p>"Packaging artifacts...Pattern contains invalid characters."</p>
<p>It would be nice to provide a more detailed or guiding message,
which shows the position of the error.</p>
<p>"Packaging artifacts...Pattern contains invalid characters."
"Error: Line 86 - Character 20"</p>
<p>or</p>
<p>" -file: "/foo&/(.zip"" " ^ invalid character"</p></div>Jens A. Kochtag:help.appveyor.com,2012-11-13:Comment/406791202016-09-05T04:43:43Z2016-09-05T04:43:43Zimprove error message<div><p>Sure, what was the path/character that caused that error?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/406791202016-09-05T09:26:14Z2016-09-05T09:26:14Zimprove error message<div><p>I still haven't found the cause for the error.<br>
I'm using</p>
<p>after_build:<br>
- dir C:\projects\build\Release /s</p>
<p>artifacts:<br>
- path: C:\projects\build\$(configuration) name:
ReleaseArtifact</p>
<p>$(configuration) is also used in the manual. Do i need to single
quote it?</p></div>Jens A. Kochtag:help.appveyor.com,2012-11-13:Comment/406791202016-09-05T17:16:44Z2016-09-05T17:16:44Zimprove error message<div><p>Path should be relative to the build root folder:</p>
<pre>
<code>artifacts:
- path: $(configuration)
name: ReleaseArtifact</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/406791202016-09-08T02:29:12Z2016-09-08T02:29:12Zimprove error message<div><p>Please watch this <a href="https://github.com/appveyor/ci/issues/1023">https://github.com/appveyor/ci/issues/1023</a>
issue. It is little different angle of view but should improve
experience too.</p>
<p>--ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/406791202016-09-09T11:07:52Z2016-09-09T11:07:55Zimprove error message<div><p>I would suggest to lift the restriction that paths need to
relative to the build root folder and allow absolute paths on
artifacts: path:</p>
<p>And here is the next error message to improve:</p>
<p>"Command exited with code 255"</p>
<p>Which command exited and why?</p></div>Jens A. Kochtag:help.appveyor.com,2012-11-13:Comment/406791202016-09-09T18:09:22Z2016-09-09T18:09:22Zimprove error message<div><p>Hi Jens,</p>
<p>We created separate issue for this <a href="https://github.com/appveyor/ci/issues/1026">https://github.com/appveyor/ci/issues/1026</a></p>
<p>For now we just made error message very clear.</p>
<p>What about Command exited with code , it is always from the last
command and it should be displayed in log…</p>
<p>Thank you,<br>
Ilya.</p></div>Ilya Finkelshteyn