Skip to content

Commit

Permalink
Log exit code, if something goes wrong.
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriks73 committed Jul 26, 2020
1 parent 7b1e2ac commit d05358e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Expand Up @@ -201,7 +201,7 @@ private void process(final AudioSong song,
final String usedMBID = extractMBID(mbid, outputFile);
postToAcousticBrainz(song, usedMBID, outputFile);
} else {
LOG.error("Failed to analyze/submit " + song + ". Input file: " + inputFile);
LOG.error("Failed to analyze/submit " + song + ". Input file: " + inputFile + ". Exit code: " + exitCode);
getMessagePanel().addMessage(new Message(
getApplication().localize("Analysis"),
"Failed to submit '" + song.getName() + "' to AcousticBrainz. Exit code " + exitCode + ". See log for details.",
Expand Down
5 changes: 4 additions & 1 deletion abzsubmit/src/main/resources/META-INF/plugin.xml
Expand Up @@ -9,7 +9,10 @@
<name>GNU Affero General Public License 3.0</name>
<url>https://www.gnu.org/licenses/agpl-3.0.txt</url>
</license>
<change-notes>1.0.3
<change-notes>1.0.4
- Log exit code, if something goes wrong.

1.0.3
- Updated AcousticBrainz endpoint URL.
- Fixed FileNotFoundException for temp file.

Expand Down

0 comments on commit d05358e

Please sign in to comment.