If we have no observer to notify of failure, emit a warning message
ourselves.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: Downloader.java,v 1.3 2004/07/13 10:39:50 mdb Exp $
|
// $Id$
|
||||||
|
|
||||||
package com.threerings.getdown.launcher;
|
package com.threerings.getdown.launcher;
|
||||||
|
|
||||||
@@ -116,6 +116,8 @@ public class Downloader extends Thread
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (_obs != null) {
|
if (_obs != null) {
|
||||||
_obs.downloadFailed(current, e);
|
_obs.downloadFailed(current, e);
|
||||||
|
} else {
|
||||||
|
Log.logStackTrace(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user