Skip to content

Conversation

@Pietfried
Copy link
Contributor

No description provided.

Signed-off-by: pietfried <pietgoempel@gmail.com>
@Pietfried Pietfried requested review from hikinggrass and marcemmers and removed request for marcemmers October 16, 2023 20:24
Co-authored-by: marcemmers <35759328+marcemmers@users.noreply.github.com>
Signed-off-by: Piet Gömpel <37657534+Pietfried@users.noreply.github.com>
return true;
}
} catch (const std::exception& e) {
return false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we print here what failed so it's at least not silent?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we could, although in this function we dont have a lot of context that we can use (no component and variable names)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about moving the whole try catch to the next layer then? The exception would tell something about what went wrong at least.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep Ill have a look and add this

Signed-off-by: pietfried <pietgoempel@gmail.com>
@Pietfried Pietfried requested a review from marcemmers October 24, 2023 13:43
Signed-off-by: pietfried <pietgoempel@gmail.com>
@Pietfried Pietfried merged commit d5f6892 into main Oct 30, 2023
@Pietfried Pietfried deleted the pg-improve-datatype-validation branch October 30, 2023 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants