]> git.openstreetmap.org Git - chef.git/commitdiff
Make changeet replication report backtrace on error
authorTom Hughes <tom@compton.nu>
Thu, 29 Dec 2022 19:53:25 +0000 (19:53 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 29 Dec 2022 19:53:48 +0000 (19:53 +0000)
cookbooks/planet/files/default/replication-bin/replicate-changesets

index 103be397a452922f99d09b84bbda69f4330e7ec7..8731c0d207a5e4f759c7e36de9821fec4ad859e4 100755 (executable)
@@ -294,5 +294,8 @@ begin
   rep.save!
 rescue StandardError => e
   warn "ERROR: #{e.message}"
+  e.backtrace.each do |frame|
+    warn "ERROR: #{frame}"
+  end
   exit 1
 end