File tree 3 files changed +11
-2
lines changed
src/main/java/com/example/errorreporting
3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 33
33
<module >snippets</module >
34
34
</modules >
35
35
36
+ <profiles >
37
+ <profile >
38
+ <id >enable-samples</id >
39
+ <modules >
40
+ <module >sample</module >
41
+ </modules >
42
+ </profile >
43
+ </profiles >
44
+
36
45
<build >
37
46
<plugins >
38
47
<plugin >
Original file line number Diff line number Diff line change 42
42
<groupId >com.google.cloud</groupId >
43
43
<artifactId >google-cloud-errorreporting</artifactId >
44
44
</dependency >
45
- <!-- BEGIN_EXCLUDE -->
45
+ <!-- START_EXCLUDE -->
46
46
<dependency >
47
47
<groupId >com.google.cloud</groupId >
48
48
<artifactId >google-cloud-core</artifactId >
Original file line number Diff line number Diff line change 21
21
// [START error_reporting_setup_java]
22
22
23
23
import com .google .cloud .ServiceOptions ;
24
- import com .google .cloud .errorreporting .v1beta1 .ReportErrorsServiceClient ;
25
24
import com .google .devtools .clouderrorreporting .v1beta1 .ErrorContext ;
26
25
import com .google .devtools .clouderrorreporting .v1beta1 .ProjectName ;
27
26
import com .google .devtools .clouderrorreporting .v1beta1 .ReportedErrorEvent ;
27
+ import com .google .devtools .clouderrorreporting .v1beta1 .ReportErrorsServiceClient ;
28
28
import com .google .devtools .clouderrorreporting .v1beta1 .SourceLocation ;
29
29
30
30
/**
You can’t perform that action at this time.
0 commit comments