Skip to content

Commit 0bc0a3d

Browse files
committed
Combined console logs
1 parent af4008e commit 0bc0a3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/gitea-api/repos/contents/contents.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ export const updateContent = async ({
131131
});
132132
contentObject = response.content;
133133
} catch (e) {
134-
console.warn(e);
135-
console.info('Branch doesnt exists. Thus, creating new branch');
134+
console.warn('Branch doesnt exists. Thus, creating new branch', e);
136135

137136
const _payload = payload({
138137
new_branch: branch, content, message, author, sha,

0 commit comments

Comments
 (0)