Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@

<!-- Explain here the changes your PR introduces and text to help us understand the context of this change. -->

#### Contribution Checklist:
### Related Issue

<!-- If your PR refers to a related issue, link it here. -->

### Type of Change

<!-- Please delete options that are not relevant. -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update
- [ ] Refactoring (no functional changes, no api changes)

### Contribution Checklist:

- [ ] **I've used AI significantly to create this pull request**
- [ ] **The pull request only addresses one issue or adds one feature.**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2662,7 +2662,7 @@ export const openMultipleCollections = (collectionPaths, options = {}) => () =>
ipcRenderer.invoke('renderer:open-multiple-collections', collectionPaths, options)
.then(resolve)
.catch((err) => {
reject();
reject(err);
});
});
};
Expand Down Expand Up @@ -3066,7 +3066,10 @@ export const scanForBrunoFiles = (dir) => (dispatch, getState) => {
return new Promise((resolve, reject) => {
ipcRenderer
.invoke('renderer:scan-for-bruno-files', dir)
.then(resolve)
.then((res) => {
console.log('scan done', res);
resolve(res);
})
.catch((err) => {
reject();
});
Expand Down
4 changes: 2 additions & 2 deletions packages/bruno-app/src/utils/importers/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export const validateSchema = async (collections = []) => {
);
return collections;
} catch (err) {
console.log(err);
throw new BrunoError('The Collection file is corrupted');
console.error(err);
throw new BrunoError(`The Collection file is corrupted: ${err.message}`);
}
};

Expand Down