Able to sync and export standalone exercices
This commit is contained in:
parent
76f830b332
commit
adb0e36dd4
15 changed files with 159 additions and 31 deletions
|
@ -20,6 +20,13 @@ type ThemeError struct {
|
|||
}
|
||||
|
||||
func NewThemeError(theme *fic.Theme, err error) *ThemeError {
|
||||
if theme == nil {
|
||||
return &ThemeError{
|
||||
error: err,
|
||||
ThemePath: StandaloneExercicesDirectory,
|
||||
}
|
||||
}
|
||||
|
||||
return &ThemeError{
|
||||
error: err,
|
||||
ThemeId: theme.Id,
|
||||
|
|
Reference in a new issue