If we have no observer to notify of failure, emit a warning message

ourselves.
This commit is contained in:
Michael Bayne
2004-12-10 00:23:17 +00:00
parent 97e210fb9d
commit ef6f55ae71
@@ -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);
} }
} }
} }