Skip to content

Commit

Permalink
Reword error details url message
Browse files Browse the repository at this point in the history
  • Loading branch information
ariskataoka committed May 6, 2024
1 parent 0d1493e commit e69286b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/media-import/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,14 +312,16 @@ Downloading errors details from ${ failureDetailsUrl }...
progressTracker.suffix += `${ chalk.yellow(
`⚠️ Error details can be found on ${ chalk.bold(
failureDetailsUrl
) } ${ chalk.italic.yellow( '(unique link expires in 15 minutes)' ) }. `
) } ${ chalk.italic.yellow(
'(file will be stored in the server for 7 days and its unique link expires in 15 minutes)'
) }. `
) }\n`;
progressTracker.print( { clearAfter: true } );

const failureDetails = await prompt( {
type: 'confirm',
name: 'download',
message: 'Do you want to download them now?',
message: 'Download error details now?',
} );

if ( ! failureDetails.download ) {
Expand Down

0 comments on commit e69286b

Please sign in to comment.