diff options
author | Frederick Muriuki Muriithi | 2024-12-06 12:47:00 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-06 12:47:00 -0600 |
commit | f9caab321d56342a5cc330611ed18c38c643ed28 (patch) | |
tree | 01f928addfb2457d83396edaccd037152e31cfbc /gn_libs/oauth2 | |
parent | 4d9a29862a34b6b91829b3504b339214d010d722 (diff) | |
download | gn-libs-f9caab321d56342a5cc330611ed18c38c643ed28.tar.gz |
Move the commit() call to the success path
The `finally` clause gets run whether or not the try succeeds. It only
makes sense to run the commit on success, so we move it into the try,
just after yielding the connection.
Diffstat (limited to 'gn_libs/oauth2')
0 files changed, 0 insertions, 0 deletions