File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/main/java/org/myrobotlab/audio Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -284,15 +284,18 @@ public AudioData play(AudioData data) {
284
284
log .error ("line is null !" );
285
285
}
286
286
} catch (Exception e ) {
287
- audioFile .warn ("%s - %s output audio line was not found - is audio enabled?" , e .getClass ().getSimpleName (), e .getMessage ());
288
287
if (data != null ) {
289
288
synchronized (data ) {
290
289
log .debug ("notifying others" );
291
290
data .notifyAll ();
292
291
}
293
292
}
294
293
if (audioFile != null ) {
295
- audioFile .error ("%s - %s" , e .getMessage (), data .getFileName ());
294
+ audioFile .error (e );
295
+ audioFile .warn ("%s - %s output audio line was not found - is audio enabled?" , e .getClass ().getSimpleName (), e .getMessage ());
296
+ if (data != null ) {
297
+ audioFile .error ("%s - %s" , e .getMessage (), data .getFileName ());
298
+ }
296
299
}
297
300
} finally {
298
301
if (din != null ) {
You can’t perform that action at this time.
0 commit comments