Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/scrutiny/blame/commit/4b1d9dc2d3f5388440a6746c3bdce2b8e2bee91e/webapp/backend/pkg/errors/errors.go You should set ROOT_URL correctly, otherwise the web may not work correctly.
scrutiny/webapp/backend/pkg/errors/errors.go

34 lines
878 B

5 years ago
package errors
import (
"fmt"
)
// Raised when config file is missing
type ConfigFileMissingError string
func (str ConfigFileMissingError) Error() string {
return fmt.Sprintf("ConfigFileMissingError: %q", string(str))
}
// Raised when the config file doesnt match schema
type ConfigValidationError string
func (str ConfigValidationError) Error() string {
return fmt.Sprintf("ConfigValidationError: %q", string(str))
}
// Raised when a dependency (like smartd or ssh-agent) is missing
type DependencyMissingError string
func (str DependencyMissingError) Error() string {
return fmt.Sprintf("DependencyMissingError: %q", string(str))
}
// Raised when the notification system is incorrectly configured
type NotificationValidationError string
func (str NotificationValidationError) Error() string {
return fmt.Sprintf("NotificationValidationError: %q", string(str))
}