From: Tom Hughes Date: Thu, 29 Dec 2022 19:53:25 +0000 (+0000) Subject: Make changeet replication report backtrace on error X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/2e2107faaafde54a4a6078cb3a03c1975cbc7bbf Make changeet replication report backtrace on error --- diff --git a/cookbooks/planet/files/default/replication-bin/replicate-changesets b/cookbooks/planet/files/default/replication-bin/replicate-changesets index 103be397a..8731c0d20 100755 --- a/cookbooks/planet/files/default/replication-bin/replicate-changesets +++ b/cookbooks/planet/files/default/replication-bin/replicate-changesets @@ -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