Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Unable to fully catch exception when IQ# is not installed #550

Open
pedrorrivero opened this issue Nov 26, 2021 · 0 comments
Open

Unable to fully catch exception when IQ# is not installed #550

pedrorrivero opened this issue Nov 26, 2021 · 0 comments
Labels
Kind-Bug Something isn't working

Comments

@pedrorrivero
Copy link

pedrorrivero commented Nov 26, 2021

Due to the message that gets printed if IQ# is not installed, we cannot provide seamless functionality around qsharp catching the exception (i.e. we always get an error message displayed even with try-except logic).

message = "IQ# is not installed." + \
"\nPlease follow the instructions at https://aka.ms/qdk-install/python."
print(message)

The line above should simply be included in the raised error message instead of printed out.

@cgranade cgranade added the Kind-Bug Something isn't working label Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Kind-Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants