summaryrefslogtreecommitdiff
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-04-06 19:10:43 +0900
committernagachika <nagachika@ruby-lang.org>2022-05-18 10:02:42 +0900
commitec5dae0d816261719b0b2f9595c072701c7036e0 (patch)
tree83c22dc4a714a0897fd1348034f1e6272e7fbf5b /lib/bundler.rb
parent1a0c76f4e1cb779f40986285ec931078835495ae (diff)
Merge RubyGems-3.3.10 and Bundler-2.3.10
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 8688206285..0025dee720 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -561,7 +561,7 @@ EOF
def load_marshal(data)
Marshal.load(data)
- rescue StandardError => e
+ rescue TypeError => e
raise MarshalError, "#{e.class}: #{e.message}"
end