projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa1397e
)
Fix exception handling in GPX importer.
author
Tom Hughes
<tom@compton.nu>
Mon, 16 Jul 2007 06:17:05 +0000
(06:17 +0000)
committer
Tom Hughes
<tom@compton.nu>
Mon, 16 Jul 2007 06:17:05 +0000
(06:17 +0000)
lib/daemons/gpx_import.rb
patch
|
blob
|
history
diff --git
a/lib/daemons/gpx_import.rb
b/lib/daemons/gpx_import.rb
index a74b642cf20fa2121044236b8ea7625acc08b07e..ba76d60f0bcb90142ea1df0512d92028ba3b6b50 100755
(executable)
--- a/
lib/daemons/gpx_import.rb
+++ b/
lib/daemons/gpx_import.rb
@@
-27,7
+27,7
@@
while(true) do
Notifier::deliver_gpx_failure(trace, '0 points parsed ok. Do they all have lat,lng,alt,timestamp?')
end
rescue Exception => ex
- logger.info ex
+ logger.info ex
.to_s
ex.backtrace.each {|l| logger.info l }
trace.destroy
Notifier::deliver_gpx_failure(trace, ex.to_s + "\n" + ex.backtrace.join("\n"))