Merge pull request #93 from danielrichman/master
Produce full traceback, and commit small changes from kraken.pull/94/head
commit
912e8c26dd
|
@ -594,9 +594,7 @@ if __name__ == '__main__':
|
|||
except Exception as e:
|
||||
statsd.increment("uncaught_exception")
|
||||
log.exception("Uncaught exception")
|
||||
(exc_type, exc_value, discard_tb) = sys.exc_info()
|
||||
exc_tb = traceback.format_exception_only(exc_type, exc_value)
|
||||
info = exc_tb[-1].strip()
|
||||
info = traceback.format_exc()
|
||||
if progress_f:
|
||||
update_progress(error="Unhandled exception: " + info)
|
||||
raise
|
||||
|
|
|
@ -54,6 +54,10 @@ a { text-decoration: underline; color: #333; cursor: pointer; }
|
|||
display: none;
|
||||
}
|
||||
|
||||
#debuginfo {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
#burst-calc-wrapper {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
|
|
|
@ -16,7 +16,7 @@ require_once("includes/config.inc.php");
|
|||
require_once("includes/functions.inc.php");
|
||||
|
||||
$stats = new StatsD();
|
||||
$stats->counting('hits');
|
||||
$stats->counting('habhub.predictor.php.hits');
|
||||
|
||||
// Get the time for pre-populating the form
|
||||
$time = time() + 3600;
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
"latitude" : -35.1217,
|
||||
"longitude" : 138.8503
|
||||
},
|
||||
"An Creagan": {
|
||||
"altitude" : 0,
|
||||
"latitude" : 54.654118,
|
||||
"longitude" : -7.034914
|
||||
"Cookstown": {
|
||||
"altitude" : 60,
|
||||
"latitude" : 54.632162,
|
||||
"longitude" : -6.757982
|
||||
},
|
||||
"Preston St Mary": {
|
||||
"latitude" : 52.1215,
|
||||
|
|
Ładowanie…
Reference in New Issue