Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xpub-epmc
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Literature-services
public-projects
xpub-epmc
Commits
a8d863d0
Commit
a8d863d0
authored
3 years ago
by
Audrey Hamelers
Browse files
Options
Downloads
Patches
Plain Diff
remove 'Minio' from file error messages
parent
c26721ae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!380
Pipeline changes
,
!379
Build step added for the master branch
,
!378
k8s release
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
server/xpub-server/entities/file/uploadCitation.js
+1
-1
1 addition, 1 deletion
server/xpub-server/entities/file/uploadCitation.js
server/xpub-server/entities/file/uploadFiles.js
+2
-2
2 additions, 2 deletions
server/xpub-server/entities/file/uploadFiles.js
with
3 additions
and
3 deletions
server/xpub-server/entities/file/uploadCitation.js
+
1
−
1
View file @
a8d863d0
...
...
@@ -106,7 +106,7 @@ async function uploadCitation(_, { manuscriptId }, { user }) {
minioLoc
,
)
}
catch
(
err
)
{
logger
.
error
(
'
Minio
error:
'
,
err
)
logger
.
error
(
'
File database
error:
'
,
err
)
return
false
}
try
{
...
...
This diff is collapsed.
Click to expand it.
server/xpub-server/entities/file/uploadFiles.js
+
2
−
2
View file @
a8d863d0
...
...
@@ -88,10 +88,10 @@ async function uploadFiles(
trx
,
)
if
(
err
||
!
filename
)
{
logger
.
error
(
'
Minio
error:
'
,
err
)
logger
.
error
(
'
File database
error:
'
,
err
)
return
Promise
.
resolve
()
}
logger
.
info
(
`
Minio
filename:
${
url
}
(original filename:
${
filename
}
)`
)
logger
.
info
(
`
File database
filename:
${
url
}
(original filename:
${
filename
}
)`
)
// Update database
const
file
=
{
manuscriptId
:
id
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment