We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34fb39b commit aa13935Copy full SHA for aa13935
2 files changed
src/memreadutils.ts
@@ -38,7 +38,7 @@ export class MemUtils {
38
storeTo[dst++] = byte;
39
}
40
41
- } catch (e: any) {
+ } catch (e: unknown) {
42
const err = e ? e.toString() : 'Unknown error';
43
errors.push(new Error(`readMemory failed @ ${memoryReference} for ${request.count} bytes: ${err}, session=${session.id}`));
44
src/views/peripheral.ts
@@ -158,7 +158,7 @@ export class PeripheralTreeForSession extends PeripheralBaseNode {
158
peripherials = await parser.parseSVD(data, gapThreshold);
159
160
161
- } catch(e: any) {
+ } catch(e: unknown) {
162
this.errMessage = `${svdPath}: Error: ${e ? e.toString() : 'Unknown error'}`;
163
vscode.debug.activeDebugConsole.appendLine(this.errMessage);
164
0 commit comments