import com.google.common.eventbus.*
import com.google.inject.*
import net.pterodactylus.util.service.*
+import java.util.concurrent.TimeUnit.*
import java.util.logging.*
import java.util.logging.Logger.*
}
} catch (wote1: WebOfTrustException) {
logger.log(Level.WARNING, "WoT has disappeared!", wote1)
+ } catch (e: Exception) {
+ logger.log(Level.SEVERE, "Uncaught exception in IdentityManager thread!", e)
}
/* wait a minute before checking again. */
- sleep((60 * 1000).toLong())
+ sleep(SECONDS.toMillis(60))
}
}