Skip to content

Commit e11bda2

Browse files
Add logs
1 parent 334e4c1 commit e11bda2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

google-cloud-spanner/src/test/java/com/google/cloud/spanner/MockSpannerServiceImpl.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,6 +1914,9 @@ public void beginTransaction(
19141914

19151915
private String getMutationString(Mutation mutation) {
19161916
StringBuilder sb = new StringBuilder();
1917+
if(mutation == null) {
1918+
return "";
1919+
}
19171920
try {
19181921
if (mutation.hasInsert()) {
19191922
for (ListValue listValue : mutation.getInsert().getValuesList()) {

0 commit comments

Comments
 (0)