File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
error_reporting/fluent_on_compute Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ #!/usr/bin/env python
2
+ # Copyright 2016 Google Inc.
2
3
#
3
4
# Licensed under the Apache License, Version 2.0 (the "License");
4
5
# you may not use this file except in compliance with the License.
11
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
13
# See the License for the specific language governing permissions and
13
14
# limitations under the License.
15
+ #
16
+ # All rights reserved.
14
17
15
- # [START error_reporting ]
18
+ # [START error_reporting_fluent_on_compute ]
16
19
import traceback
17
20
18
21
import fluent .event
@@ -35,7 +38,7 @@ def report(ex):
35
38
raise NameError
36
39
except Exception :
37
40
report (traceback .format_exc ())
38
- # [END error_reporting ]
41
+ # [END error_reporting_fluent_on_compute ]
39
42
40
43
41
44
if __name__ == '__main__' :
Original file line number Diff line number Diff line change 1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ #!/usr/bin/env python
2
+ # Copyright 2016 Google Inc.
2
3
#
3
4
# Licensed under the Apache License, Version 2.0 (the "License");
4
5
# you may not use this file except in compliance with the License.
11
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
13
# See the License for the specific language governing permissions and
13
14
# limitations under the License.
15
+ #
16
+ # All rights reserved.
14
17
15
18
import mock
16
19
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # Copyright 2016 Google Inc. All rights reserved.
2
+ # Copyright 2016 Google Inc.
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
12
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
+ #
16
+ # All rights reserved.
15
17
16
18
set -v
17
19
You can’t perform that action at this time.
0 commit comments