Update PiPedalModel.tsx
Updated the error handling logic in PiPedalModel’s WiFi Direct configuration. The promise now rejects when the server call fails instead of resolving silently
This commit is contained in:
@@ -3049,7 +3049,7 @@ export class PiPedalModel //implements PiPedalModel
|
||||
resolve();
|
||||
})
|
||||
.catch((err) => {
|
||||
resolve();
|
||||
reject(err);
|
||||
});
|
||||
//resolve();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user