Update service to handle unexpected exceptions

This will ensure that now and in the future, PushOptionsHandlerService
will not cause the post_receive API endpoint from running other code if
something causes an unknown exception.
96 jobs for 43263-git-push-option-to-create-mr in 56 minutes and 43 seconds (queued for 7 seconds)
Status Job ID Name Coverage
  Build
manual #192991410
gitlab-org allowed to fail manual
review-docs-deploy-manual
 
  Prepare
passed #192991414
gitlab-org docker
build-qa-image

00:04:54

passed #192991412
gitlab-org
compile-assets

00:09:27

passed #192991411
gitlab-org
retrieve-tests-metadata

00:00:46

passed #192991413
gitlab-org
setup-test-env

00:05:56

 
  Test
passed #192991415
allowed to fail
code_quality

00:12:27

passed #192991417
danger-review

00:03:35

passed #192991507
gitlab-org
db:check-schema-pg

00:03:32

passed #192991505
gitlab-org
db:migrate:reset-mysql

00:04:19

passed #192991503
gitlab-org
db:migrate:reset-pg

00:04:37

passed #192991514
gitlab-org
db:rollback-mysql

00:04:44

passed #192991512
gitlab-org
db:rollback-pg

00:03:26

passed #192991525
allowed to fail
dependency_scanning

00:07:38

passed #192991496
gitlab-org
docs lint

00:02:00

passed #192991498
gitlab-org
downtime_check

00:02:26

passed #192991501
gitlab-org
ee_compat_check

00:03:29

passed #192991521
docker gitlab-org
gitlab:assets:compile

00:18:57

passed #192991519
gitlab-org
gitlab:setup-mysql

00:06:31

passed #192991516
gitlab-org
gitlab:setup-pg

00:05:47

passed #192991533
gitlab-org
gitlab_git_test

00:00:30

passed #192991523
gitlab-org
jest

00:13:19

passed #192991522
gitlab-org
karma

00:11:41

57.47%
passed #192991510
gitlab-org
migration:path-mysql

00:18:11

passed #192991508
gitlab-org
migration:path-pg

00:13:51

passed #192991534
gitlab-org
no_ee_check

00:00:29

manual #192991416
allowed to fail manual
package-and-qa
passed #192991529
gitlab-org
qa-frontend-node:10

00:12:29

passed #192991528
gitlab-org
qa-frontend-node:8

00:14:41

passed #192991532
gitlab-org allowed to fail
qa-frontend-node:latest

00:12:53

passed #192991526
gitlab-org
qa:internal

00:03:39

passed #192991527
gitlab-org
qa:selectors

00:03:35

passed #192991535
review-build-cng

00:25:16

passed #192991536
gitlab-org allowed to fail
review-deploy

00:27:17

passed #192991539
gitlab-org docker allowed to fail
review-performance

00:29:44

manual #192991538
gitlab-org docker allowed to fail manual
review-qa-all
passed #192991537
gitlab-org docker allowed to fail
review-qa-smoke

00:30:08

manual #192991540
gitlab-org allowed to fail manual
review-stop
passed #192991492
gitlab-org allowed to fail
rspec-mysql-quarantine

00:11:44

passed #192991418
gitlab-org
rspec-pg 1/50

00:19:01

passed #192991427
gitlab-org
rspec-pg 10/50

00:15:11

passed #192991428
gitlab-org
rspec-pg 11/50

00:25:34

passed #192991429
gitlab-org
rspec-pg 12/50

00:18:02

passed #192991430
gitlab-org
rspec-pg 13/50

00:17:44

passed #192991431
gitlab-org
rspec-pg 14/50

00:16:03

passed #192991432
gitlab-org
rspec-pg 15/50

00:18:48

passed #192991433
gitlab-org
rspec-pg 16/50

00:16:38

passed #192991434
gitlab-org
rspec-pg 17/50

00:18:37

passed #192991435
gitlab-org
rspec-pg 18/50

00:19:21

passed #192991436
gitlab-org
rspec-pg 19/50

00:18:30

passed #192991419
gitlab-org
rspec-pg 2/50

00:19:00

passed #192991437
gitlab-org
rspec-pg 20/50

00:18:12

passed #192991438
gitlab-org
rspec-pg 21/50

00:20:08

passed #192991439
gitlab-org
rspec-pg 22/50

00:15:50

passed #192991440
gitlab-org
rspec-pg 23/50

00:16:41

passed #192991441
gitlab-org
rspec-pg 24/50

00:16:10

passed #192991443
gitlab-org
rspec-pg 25/50

00:17:48

passed #192991446
gitlab-org
rspec-pg 26/50

00:43:24

passed #192991449
gitlab-org
rspec-pg 27/50

00:16:26

passed #192991450
gitlab-org
rspec-pg 28/50

00:22:22

passed #192991451
gitlab-org
rspec-pg 29/50

00:17:49

passed #192991420
gitlab-org
rspec-pg 3/50

00:17:15

passed #192991453
gitlab-org
rspec-pg 30/50

00:19:55

passed #192991454
gitlab-org
rspec-pg 31/50

00:20:07

passed #192991455
gitlab-org
rspec-pg 32/50

00:16:58

passed #192991457
gitlab-org
rspec-pg 33/50

00:17:02

passed #192991458
gitlab-org
rspec-pg 34/50

00:22:51

passed #192991460
gitlab-org
rspec-pg 35/50

00:23:25

passed #192991462
gitlab-org
rspec-pg 36/50

00:18:59

passed #192991463
gitlab-org
rspec-pg 37/50

00:22:55

passed #192991466
gitlab-org
rspec-pg 38/50

00:18:11

passed #192991467
gitlab-org
rspec-pg 39/50

00:22:16

passed #192991421
gitlab-org
rspec-pg 4/50

00:16:41

passed #192991469
gitlab-org
rspec-pg 40/50

00:19:21

passed #192991471
gitlab-org
rspec-pg 41/50

00:18:47

passed #192991473
gitlab-org
rspec-pg 42/50

00:16:37

passed #192991475
gitlab-org
rspec-pg 43/50

00:21:25

passed #192991477
gitlab-org
rspec-pg 44/50

00:21:33

passed #192991479
gitlab-org
rspec-pg 45/50

00:21:51

passed #192991481
gitlab-org
rspec-pg 46/50

00:18:52

passed #192991482
gitlab-org
rspec-pg 47/50

00:19:29

passed #192991484
gitlab-org
rspec-pg 48/50

00:18:30

passed #192991486
gitlab-org
rspec-pg 49/50

00:17:30

passed #192991422
gitlab-org
rspec-pg 5/50

00:17:55

passed #192991488
gitlab-org
rspec-pg 50/50

00:15:56

passed #192991423
gitlab-org
rspec-pg 6/50

00:17:19

passed #192991424
gitlab-org
rspec-pg 7/50

00:23:25

passed #192991425
gitlab-org
rspec-pg 8/50

00:15:10

passed #192991426
gitlab-org
rspec-pg 9/50

00:22:41

passed #192991490
gitlab-org allowed to fail
rspec-pg-quarantine

00:08:29

passed #192991524
allowed to fail
sast

00:08:22

passed #192991494
gitlab-org
static-analysis

00:12:20

 
  Post Test
passed #192991542
gitlab-org
coverage

00:03:45

95.1%
failed #192991541
gitlab-org allowed to fail
flaky-examples-check

00:01:47

passed #192991544
gitlab-org
jsdoc

00:02:16

passed #192991543
gitlab-org
lint:javascript:report

00:00:53

 
  Post Cleanup
manual #192991545
gitlab-org allowed to fail manual
review-docs-cleanup
 
Name Stage Failure
failed
flaky-examples-check Post Test
    "first_flaky_at": "2019-04-08 23:13:55 +0000",
"last_flaky_at": "2019-04-08 23:13:55 +0000",
"last_flaky_job": "https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/192991462"
}
}
Running after script...
$ date
Mon Apr 8 23:52:30 UTC 2019
ERROR: Job failed: exit code 1