serverless_hub 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6cde32b9ba47b7a7336cd41e3bfdfeb438e888ae1bd34c0500237e42a4cb313
4
- data.tar.gz: 8319c22ad1ccae18265d3f9002308b313154018c097074664a290dfe691bb112
3
+ metadata.gz: 2d42fd187411a211b9e9b97e2afd18c59c96fd8ce97611b2caffa993d68a3093
4
+ data.tar.gz: 0f9a475dea325a815ed38bd5e13c61204347b832d59a722416b7f8f8a9d1e40a
5
5
  SHA512:
6
- metadata.gz: cf801fdf4d86d1629aa46b9f96dde27488ee7b6f3672813a66d5e5bd7659a0c4369bf59b3b58b211c93c46b340a908001c02acfa2f19c8048dbe2641f4eec2a5
7
- data.tar.gz: 26b988e0d8faa83b33cf7d4463920aab18fb2e31d9802bf5e5990517b96e51e3908da64d05a3403a42a7b181a739f5dd9d49d324d937682ef7faf8becea3044a
6
+ metadata.gz: a9aa917bead2179f56553f39035923817ec85d257a2871a54a2acfa6115ee2e9ebfffb1a8c93e0bb925a725eea5d6f69d5adb19aa946e9af5b273f2b8ebe157d
7
+ data.tar.gz: 926cbb517463e7a7381dc99cbf8c196c38f50cf8413eb0038ba99bcbeeed7378c8ff9f1b53566f9dcf8450cd1e3548a99857d0b6e8586005f39088dad80a6e8a
@@ -14,6 +14,13 @@ module ServerlessHub
14
14
  return "Warm Up" if event["source"] == "serverless-plugin-warmup"
15
15
 
16
16
  Lamby.handler $app, event, context
17
+ rescue Exception => msg
18
+ p "errors: #{msg}"
19
+ response = {
20
+ "statusCode" => 500,
21
+ "body" => msg,
22
+ }
23
+ end
17
24
  end
18
25
  end
19
26
  end
@@ -1,3 +1,3 @@
1
1
  module ServerlessHub
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverless_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will