Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit 88c8151

Browse files
committed
Fix error creation
1 parent 2b6a219 commit 88c8151

File tree

1 file changed

+1
-1
lines changed
  • jdbc-extension/src/main/ballerina/ballerinax/jdbc

1 file changed

+1
-1
lines changed

jdbc-extension/src/main/ballerina/ballerinax/jdbc/endpoint.bal

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public type Client client object {
114114
}
115115

116116
function handleStoppedClientInvocation() returns error {
117-
return error("{ballerina/sql}DatabaseError", { message: "Client has been stopped"});
117+
return error("{ballerina/sql}DatabaseError", message = "Client has been stopped");
118118
}
119119
};
120120

0 commit comments

Comments
 (0)