From 2e2107faaafde54a4a6078cb3a03c1975cbc7bbf Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 29 Dec 2022 19:53:25 +0000 Subject: [PATCH] Make changeet replication report backtrace on error --- .../planet/files/default/replication-bin/replicate-changesets | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5