Skip to content

Commit

Permalink
chore: fix azure tests failing in CI (#6878)
Browse files Browse the repository at this point in the history
Fixes a regression introduced by #6099

## Checklist

- [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [ ] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
Chriscbr committed Jul 10, 2024
1 parent a734f03 commit 4a74587
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/wingsdk/src/core/class-factory.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Construct, IConstruct } from "constructs";
import { App } from "./app";
import { NotImplementedError } from "./errors";
import { Node } from "../std/node";

const CLASS_FACTORY_SYMBOL = Symbol("@winglang/sdk.core.ClassFactory");
Expand Down Expand Up @@ -50,7 +51,7 @@ export class ClassFactory {
return new ctor(scope, id, ...args);
}

throw new Error(`Unsupported resource type: ${fqn}`);
throw new NotImplementedError(`Unsupported resource type: ${fqn}`);
}

/**
Expand Down

0 comments on commit 4a74587

Please sign in to comment.