-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide better error context for backend drivers #664
Comments
amitshukla
added a commit
to amitshukla/distribution
that referenced
this issue
Oct 6, 2015
amitshukla
added a commit
to amitshukla/distribution
that referenced
this issue
Oct 6, 2015
Clean up the code for issue 664
amitshukla
added a commit
to amitshukla/distribution
that referenced
this issue
Oct 6, 2015
Errors thrown by storage drivers don't have the name of the driver, causing user confusion about whether the error is coming from Docker or from a storage driver. This change adds the storage driver name to each error message. This required changing ErrUnsupportedDriver to a type, leading to code changes whenever ErrUnsupportedDriver is used. The tests check whether the driver name appears in the error message.
amitshukla
added a commit
to amitshukla/distribution
that referenced
this issue
Oct 6, 2015
Errors thrown by storage drivers don't have the name of the driver, causing user confusion about whether the error is coming from Docker or from a storage driver. This change adds the storage driver name to each error message. This required changing ErrUnsupportedDriver to a type, leading to code changes whenever ErrUnsupportedDriver is used. The tests check whether the driver name appears in the error message. Signed-off-by: Amit Shukla amit.shukla@docker.com
RichardScothern
pushed a commit
to RichardScothern/distribution
that referenced
this issue
Nov 2, 2015
Errors thrown by storage drivers don't have the name of the driver, causing user confusion about whether the error is coming from Docker or from a storage driver. This change adds the storage driver name to each error message. This required changing ErrUnsupportedDriver to a type, leading to code changes whenever ErrUnsupportedDriver is used. The tests check whether the driver name appears in the error message. Signed-off-by: <Amit Shukla amit.shukla@docker.com>
RichardScothern
pushed a commit
to RichardScothern/distribution
that referenced
this issue
Nov 3, 2015
Errors thrown by storage drivers don't have the name of the driver, causing user confusion about whether the error is coming from Docker or from a storage driver. This change adds the storage driver name to each error message. This required changing ErrUnsupportedDriver to a type, leading to code changes whenever ErrUnsupportedDriver is used. The tests check whether the driver name appears in the error message. Signed-off-by: Amit Shukla <amit.shukla@docker.com>
RichardScothern
pushed a commit
to RichardScothern/distribution
that referenced
this issue
Nov 3, 2015
Errors thrown by storage drivers don't have the name of the driver, causing user confusion about whether the error is coming from Docker or from a storage driver. This change adds the storage driver name to each error message. This required changing ErrUnsupportedDriver to a type, leading to code changes whenever ErrUnsupportedDriver is used. The tests check whether the driver name appears in the error message. Signed-off-by: Amit Shukla <amit.shukla@docker.com>
thaJeztah
pushed a commit
to thaJeztah/distribution
that referenced
this issue
Apr 22, 2021
Errors thrown by storage drivers don't have the name of the driver, causing user confusion about whether the error is coming from Docker or from a storage driver. This change adds the storage driver name to each error message. This required changing ErrUnsupportedDriver to a type, leading to code changes whenever ErrUnsupportedDriver is used. The tests check whether the driver name appears in the error message. Signed-off-by: Amit Shukla <amit.shukla@docker.com>
thaJeztah
pushed a commit
to thaJeztah/distribution
that referenced
this issue
Jan 19, 2022
Errors thrown by storage drivers don't have the name of the driver, causing user confusion about whether the error is coming from Docker or from a storage driver. This change adds the storage driver name to each error message. This required changing ErrUnsupportedDriver to a type, leading to code changes whenever ErrUnsupportedDriver is used. The tests check whether the driver name appears in the error message. Signed-off-by: Amit Shukla <amit.shukla@docker.com>
dylanrhysscott
pushed a commit
to digitalocean/docker-distribution
that referenced
this issue
Jan 5, 2023
Errors thrown by storage drivers don't have the name of the driver, causing user confusion about whether the error is coming from Docker or from a storage driver. This change adds the storage driver name to each error message. This required changing ErrUnsupportedDriver to a type, leading to code changes whenever ErrUnsupportedDriver is used. The tests check whether the driver name appears in the error message. Signed-off-by: Amit Shukla <amit.shukla@docker.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#492 describes an issue with using the s3 driver and IAM roles. While not strictly the domain of the registry, the error message only contained the message "Access Denied", coming from the s3 driver. The log message is below:
We may want to explore providing a little more context in driver instantiated errors. These widely vary, so we may want to provide some common wrappers and test that drivers appropriately wrap internal errors.
The text was updated successfully, but these errors were encountered: