-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Bug report from a customer this morning. They pasted in the GitHub action output, as follows:
flow 'pottspillsport-lambda-rs-bet-detail-producer' was updated
trail '4652946727ba47b45f99ef8d2055518a68fad924' was begun
artifact bet-detail-producer-v0.45.0.zip was attested with fingerprint: 62ede6da090...
Error: xml: encoding "ISO-8859-15" declared but Decoder.CharsetReader is nil
-
It would be very useful if the CLI printed its version number before each fatal error message.
I could not reproduce this particular error in the latest CLI so I wanted to install the specific version they were using. -
It would also have been very handy if the error message also told you the filename involved.
In this case the customer was using akosli attest junitcommand and was providing an--attachmentsflag
specifying a junit xml file in a subdir. The--results-dirwas defaulting to.and they were somehow under the impression
that since they had specified--attachmentsthen that somehow took precedence over the--results-dir(which would then be ignored). But there was another junit xml file in the.dir (which had encoding problems). If we'd printed the filename we would have saved half a day debugging, and the customer might well have been able to diagnose the problem themself.